package com.wisecoach.gatewayplus.bind;

import java.util.Map;

/**
 * 链码调用参数
 * {@code @author:} wisecoach
 * {@code @date:} 2023/6/20 下午4:45
 * {@code @version:} 1.0.0
 */
public class ContractArgs {

    // 普通参数
    private String[] args;
    // 私有数据瞬态数据表，如果没有参数，该值为null
    private Map<String, byte[]> transientMap;

    public ContractArgs() {
    }

    public ContractArgs(String[] args, Map<String, byte[]> transientMap) {
        this.args = args;
        this.transientMap = transientMap;
    }

    public String[] getArgs() {
        return args;
    }

    public void setArgs(String[] args) {
        this.args = args;
    }

    public Map<String, byte[]> getTransientMap() {
        return transientMap;
    }

    public void setTransientMap(Map<String, byte[]> transientMap) {
        this.transientMap = transientMap;
    }
}
